/*
 * Copyright (C) 2004-2016 7dub.cn All rights reserved Author: caozhongsheng
 * Date: 2016年11月12日
 */
package cn.dub.scarecrow.dao;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import cn.dub.scarecrow.common.config.db.Dao;
import cn.dub.scarecrow.common.entity.User;

@Dao
public interface IUserMapper {

    List<User> queryUsers();

    @Select("SELECT * FROM user WHERE id = #{id} AND status = 0")
    User getUserById(Integer id);
}
